package org.framework.lazy.cloud.network.heartbeat.server.standalone.application.assembler;

import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.command.lazy.netty.client.permeate.server.mapping.*;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.application.dto.LazyClientPermeateServerMappingDTO;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.netty.client.permeate.server.mapping.LazyNettyClientPermeateServerMapping;
import org.wu.framework.core.mapper.LazyStructMapper;
import org.wu.framework.core.mapper.LazyStructMappers;

/**
 * describe 客户端渗透服务端映射
 *
 * @author Jia wei Wu
 * @date 2024/09/17 09:26 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler
 **/
@LazyStructMapper
public interface LazyNettyClientPermeateServerMappingDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyNettyClientPermeateServerMappingDTOAssembler INSTANCE = LazyStructMappers.getMapper(LazyNettyClientPermeateServerMappingDTOAssembler.class);

    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param lazyClientPermeateServerMappingStoryCommand 保存客户端渗透服务端映射对象
     * @return {@link LazyNettyClientPermeateServerMapping} 客户端渗透服务端映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyNettyClientPermeateServerMapping toLazyInternalNetworkClientPermeateServerMapping(LazyClientPermeateServerMappingStoryCommand lazyClientPermeateServerMappingStoryCommand);

    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param lazyClientPermeateServerMappingUpdateCommand 更新客户端渗透服务端映射对象
     * @return {@link LazyNettyClientPermeateServerMapping} 客户端渗透服务端映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyNettyClientPermeateServerMapping toLazyInternalNetworkClientPermeateServerMapping(LazyClientPermeateServerMappingUpdateCommand lazyClientPermeateServerMappingUpdateCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyClientPermeateServerMappingQueryOneCommand 查询单个客户端渗透服务端映射对象参数
     * @return {@link LazyNettyClientPermeateServerMapping} 客户端渗透服务端映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyNettyClientPermeateServerMapping toLazyInternalNetworkClientPermeateServerMapping(LazyClientPermeateServerMappingQueryOneCommand lazyClientPermeateServerMappingQueryOneCommand);

    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param lazyClientPermeateServerMappingQueryListCommand 查询集合客户端渗透服务端映射对象参数
     * @return {@link LazyNettyClientPermeateServerMapping} 客户端渗透服务端映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyNettyClientPermeateServerMapping toLazyInternalNetworkClientPermeateServerMapping(LazyClientPermeateServerMappingQueryListCommand lazyClientPermeateServerMappingQueryListCommand);

    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param lazyClientPermeateServerMappingRemoveCommand 删除客户端渗透服务端映射对象参数
     * @return {@link LazyNettyClientPermeateServerMapping} 客户端渗透服务端映射领域对象
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyNettyClientPermeateServerMapping toLazyInternalNetworkClientPermeateServerMapping(LazyClientPermeateServerMappingRemoveCommand lazyClientPermeateServerMappingRemoveCommand);

    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param lazyNettyClientPermeateServerMapping 客户端渗透服务端映射领域对象
     * @return {@link LazyClientPermeateServerMappingDTO} 客户端渗透服务端映射DTO对象
     * @author Jia wei Wu
     * @date 2024/09/17 09:26 晚上
     **/
    LazyClientPermeateServerMappingDTO fromLazyInternalNetworkClientPermeateServerMapping(LazyNettyClientPermeateServerMapping lazyNettyClientPermeateServerMapping);
}